package org.dftproject.patml.factories;

import org.dftproject.genesis.core.persistence.IMemento;
import org.dftproject.genesis.core.persistence.IPersistenceFactory;
import org.dftproject.patml.TngSite;

public class TngSiteFactory implements IPersistenceFactory {

	public static final String ID = TngSiteFactory.class.getName();

	public Object createObject(IMemento memento) {
		return new TngSite(memento.getString("url"), memento.getString("tree"));
	}

}
